package com.dream21th.flow.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.dream21th.flow.common.dto.QueryModelRespDTO;
import com.dream21th.flow.entity.ActHiComment;
import org.apache.ibatis.annotations.Param;

import java.util.Map;

/**
* @Desprition TODO
* @author dream21th
* @since 2020-12-02 14:40:40
*/
public interface ActHiCommentMapper extends BaseMapper<ActHiComment> {

    IPage<Map<String,Object>> applyTasksPage(IPage page, String userId, String search, String processKey);

    IPage<Map<String,Object>> applyedTasksPage(IPage page, String userId, String search, String processKey);

    IPage<Map<String,Object>> toAssignTasksPage(IPage page, String userId, String search, String processKey);

    IPage<QueryModelRespDTO> getDeployModelPage(IPage page, @Param("param") Map<String, Object> map);
}
